package com.tuanzi.webtalk.dao;

import com.tuanzi.webtalk.domain.GroupKey;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface GroupMapper {
    int deleteByPrimaryKey(GroupKey key);

    int insert(GroupKey record);

    int insertSelective(GroupKey record);

    //这个方法是查询用户有多少群组的
    List<Integer> selectGroupsByUid(@Param(value = "uid")Integer uid);
}